Returns the total number of records in a recordset.
Syntax
RecordsetRowCount(Recordset)
Arguments
Argument | Description |
---|---|
Recordset | Recordset name. Must be opened with OpenRecordset or OpenRecordsetQuery. |
Return value
Value | Description |
---|---|
Value | Total number of records in the recordset. |
Example
customerSet = OpenRecordsetQuery("Customers", "SELECT * FROM Email")
count = RecordsetRowCount(customerSet)
PrintLn(count)